package com.changgou.config;

import org.springframework.amqp.core.Queue;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author kfzhao
 * @version 1.0
 * @className RabbitMQConfig
 * @description
 * @date 2022/1/5 2:30
 */
@Configuration
public class RabbitMQConfig {
    public static final String ORDER_TACK = "order_tack";

    @Bean
    public Queue queue() {
        return new Queue(ORDER_TACK);
    }


}
